package com.idata.model.interfaces;


import java.util.Date;

public interface HasDisputeTimeSortField extends Comparable<HasDisputeTimeSortField> {

    Date getDisputeTimeForSort();

    @Override
    default int compareTo(HasDisputeTimeSortField otherDO) {
        return otherDO.getDisputeTimeForSort().compareTo(this.getDisputeTimeForSort());
    }
}
